﻿using EasyLinkerSDK.Model.Client.Common.Interface;
using EasyLinkerSDK.Model.Server.Common.Interface;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using static EasyLinkerSDK.Client.Interface.EventHandler;

namespace EasyLinkerSDK.Client.Interface
{
    public interface IELClient
    {
        event MessageReceivedEventHandler DoMessageReceived;

        event ClientLogEventHandler DoClientLog;

        bool IsConnected { get; }

        Task<bool> Start();

        Task<bool> Stop();

        void Send(IClientMessage clientMsg);

    }
}
